/**
 * Body Controller
 */

angular.module('NxtMap')
  .controller('BodyCtrl', ['$rootScope', '$scope', 'MapService', BodyCtrl]);

function BodyCtrl($rootScope, $scope, MapService) {

  $rootScope.url_origin = "http://10.0.13.195:3000/api";
  //是否显示地图
  var showMap = true;
  $scope.getShowMap = function () {
    return showMap;
  }
  $rootScope.setShowMap = function (value) {
    showMap = value;
  }

}